// DelDlg.c

#include <windows.h>
#include "resource.h"
#include "deldlg.h"
#include "remprn.h"

extern TCHAR msgs[10240];

BOOL CALLBACK DelDriverProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam )
{
   switch (uMsg) {
      case WM_INITDIALOG:
         LoadLangStr(hWnd, IDD_DEL_DRIVER);
         SetDlgItemText(hWnd, IDC_USED_BY_PRN, msgs);
         return TRUE;

      case WM_COMMAND:
         switch (LOWORD(wParam)) {
            case IDCANCEL:
            case IDC_OK:
            case IDC_CANCEL:
               EndDialog(hWnd, LOWORD(wParam));
               break;
         }
   }
   return FALSE;
}